package com.ruoyi.business.domain.koc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户koc任务列表 审核列表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_user_koc_task_info")
@ApiModel("koc任务审核列表")
public class TbUserKocTaskInfo extends BaseEntity {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "批量审核id")
    @TableField("check_business_id")
    private Long checkBusinessId;

    @ApiModelProperty(value = "koc任务类型id")
    @TableField("koc_task_type_id")
    private Long kocTaskTypeId;

    @ApiModelProperty(value = "koc任务类型code")
    @TableField("koc_task_type_code")
    private String kocTaskTypeCode;

    @ApiModelProperty(value = "koc任务类型名称")
    @TableField("koc_task_type_name")
    private String kocTaskTypeName;

    @ApiModelProperty(value = "koc任务id")
    @TableField("koc_task_id")
    private Long kocTaskId;

    @ApiModelProperty(value = "koc任务名称")
    @TableField("koc_task_name")
    private String kocTaskName;

    @ApiModelProperty(value = "小程序用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "用户手机号")
    @TableField("user_phone")
    private String userPhone;

    @ApiModelProperty(value = "用户姓名")
    @TableField("user_real_name")
    private String userRealName;

    @ApiModelProperty(value = "用户名")
    @TableField("user_nickname")
    private String userNickname;

    @ApiModelProperty(value = "用户koc等级名称")
    @TableField("user_koc_level_name")
    private String userKocLevelName;

    @ApiModelProperty(value = "用户koc等级名称")
    @TableField("user_koc_level_id")
    private Long userKocLevelId;

    @ApiModelProperty(value = "koc年月份期次")
    @TableField("koc_date")
    private String kocDate;

    @ApiModelProperty(value = "是否审核通过 0 未审核 1 审核通过 2 审核不通过")
    @TableField("check_status")
    private Integer checkStatus;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "审核参数")
    @TableField("check_param")
    private String checkParam;

    @ApiModelProperty(value = "审核备注")
    @TableField("check_remarks")
    private String checkRemarks;

    @ApiModelProperty(value = "审核人")
    @TableField("check_user")
    private String checkUser;

    @ApiModelProperty(value = "审核时间")
    @TableField("check_time")
    private Date checkTime;

    @ApiModelProperty(value = "1:积分 2:产品 3:产品+积分")
    @TableField("reward_type")
    private Integer rewardType;

    @ApiModelProperty(value = "奖励积分")
    @TableField("reward_points")
    private Integer rewardPoints;

    @ApiModelProperty(value = "奖励产品")
    @TableField("reward_product")
    private Integer rewardProduct;

}
